gUIFile("CKEditorSetup.php")); # HTML page setup $Heading = ($H_DisplayMode == "Adding") ? "Add New Page" : "Edit Page"; PageTitle($Heading); $AllowedKeywords = PluginManager::getInstance() ->getPluginForCurrentPage() ->getAllowedInsertionKeywords(); print "

# ".$Heading."

\n"; # ----- STATE: ERROR ------------------------------------------------- # display any error messages if (isset($H_ErrorMsgs)) { ?>

".$Msg."\n"; } ?>

Title |  | Displayed in the browser title bar, and also used by search engines who index the page.
Page Content | <?= htmlspecialchars($GLOBALS["AF"]->escapeInsertionKeywords($H_Content, $AllowedKeywords)) ?>
Summary | <?= htmlspecialchars($GLOBALS["AF"]->escapeInsertionKeywords($H_Summary, $AllowedKeywords)) ?> | Displayed in search results, both on the site and by external search engines like Google. If left blank, this will be auto-generated from the page content.
Keywords |  | Additional keywords that might be used to search for this page. (OPTIONAL)
Clean URL Path |  | If a "clean URL" path (e.g. my/new/page) is set, the page will be reachable at that address.
Images | get("Images", true); foreach ($Images as $Image) { $Id = $Image->id(); $SafeAltText = defaulthtmlentities($H_AltTexts[$Image->id()]); $InsertLeftCmd = defaulthtmlentities( "CKEDITOR.instances['F_Content'].insertHtml(" ."'url("mv-image-preview")."\" alt=\"" .htmlspecialchars($Image->altText()) ."\" class=\"cw-pages-image-left\" />');" ); $InsertRightCmd = defaulthtmlentities( "CKEDITOR.instances['F_Content'].insertHtml(" ."'url("mv-image-preview")."\" alt=\"" .htmlspecialchars($Image->altText()) ."\" class=\"cw-pages-image-right\" />');" ); ?>
"> | Alt Text: |
| Alt Text: |
Files | get("Files", true); foreach ($Files as $File) { $Id = $File->id(); $LinkCmd = defaulthtmlentities( "CKEDITOR.instances['F_Content'].insertHtml(" ."'getLink()."\">'" ."+CKEDITOR.instances['F_Content'].getSelection()" .".getSelectedText()+'');" ); ?>
name()); ?> |
Privileges Required for Viewing Page: | displaySet("ViewingPrivs", $H_Privileges); ?>
Created: | get("Added By Id", true)); $Created = StdLib::getPrettyTimestamp($H_Page->get("Creation Date"), true) ." by ".(($User instanceof User) ? $User->name() : "(unknown)").""; $Created = str_replace(" ", " ", $Created); print $Created; ?>
Last Modified: | get("Last Modified By Id", true)); $Modified = StdLib::getPrettyTimestamp($H_Page->get("Date Last Modified"), true) ." by ".(($User instanceof User) ? $User->name() : "(unknown)").""; $Modified = str_replace(" ", " ", $Modified); print $Modified; ?>
| ">